package extendindex;

public class test {
    public static void main(String[] args) {
        Student s1=new Student();
        s1.age=12;
        s1.gender="男";
        s1.name="xiaoming";
        s1.study();
        Teacher t1=new Teacher();
        t1.age=23;
        t1.name="guolanbo";
        t1.gender="男";
        t1.teach();
        //设计一下继承结构
        /*
        *普通学生:上课,学习,练习
        *学生干部:上课,学习,练习,管理班级
        *java老师:上课,学习,答疑,教java
        *Ai老师:上课,学习,答疑,教AI
        *
        *
        *
        *
        *
        *
        * */












    }
}
